//
//  MainPageViewController.h
//  UcarTest
//
//  Created by 陈曦 on 16/1/13.
//  Copyright © 2016年 chenxi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MainPageView.h"
#import "LeftPageMenuView.h"
#import "DIYChoiceTimeButton.h"
#import "DIYDatePickerView.h"
#import "DIYGiveBackDatePickerView.h"
#import "MJRefresh.h"

@interface MainPageViewController : UIViewController<UIGestureRecognizerDelegate,UITableViewDataSource,UITableViewDelegate>

@property (nonatomic, strong) UIPanGestureRecognizer *panMove;//平移事件

@property (nonatomic, strong) UITapGestureRecognizer *tapClick;//点击事件

@property (nonatomic, strong) MainPageView *mainPageView;//主页视图

@property (nonatomic, strong) LeftPageMenuView *leftPageMenuView;//左侧菜单视图

@property (nonatomic, strong) UIView *contentView;//主页蒙板

@property (nonatomic, strong) UITableView *choiceCarTableView;//主页选择车辆视图

@property (nonatomic, strong) DIYChoiceTimeButton *checkOutCarTimeBtn;//取车时间

@property (nonatomic, strong) DIYChoiceTimeButton *giveBackCarTimeBtn;//还车时间

@property (nonatomic, strong) DIYDatePickerView *datePickerView;//取车时间选择器视图

@property (nonatomic, strong) DIYGiveBackDatePickerView *giveBackDatePickerView;//还车时间选择器

@property (nonatomic, strong) NSDate *checkOutCarTime;//取车时间字符串

@property (nonatomic, strong) NSDate *giveBackCarTime;//还车时间字符串

@property (nonatomic, assign) NSTimeInterval checkOutTimeStamp;//取车时间时间戳

@property (nonatomic, assign) NSTimeInterval giveBackTimeStamp;//还车时间时间戳

@property (nonatomic, assign) NSTimeInterval d_ValueTimeStamp;//时间差

@property (nonatomic, strong) NSString *status;

@property (nonatomic, strong) NSString *msg;



@end
